home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
SCLIB.ARJ
/
SCL1SAMP.EXE
/
TAG.C
< prev
next >
Wrap
Text File
|
1992-01-01
|
642b
|
36 lines
#include <scl1.h>
#include <scl1clor.h>
/*******************
TagList example */
struct TagList tl[]={
0,"Option 1",
0,"Option 2",
0,"Option 3",
0,"Option 4",
0,"Option 5",
0,"Option 6",
0,"Option 7",
0,"Option 8",
0,"Option 9",
0};
main()
{
int i;
InitMouse(IM_SHOW);
if(TagList(WHITE_BLACK,BLACK_WHITE,tl) != -1)
{
printf("\nThe following options were tagged:\n");
for(i=0;i < 9;++i)
{
if(tl[i].TagFl)
printf("%s\n",tl[i].String);
}
}
else
printf("\nOperation canceled by user\n");
}